containers.<name>.extraFlags

Extra flags passed to the systemd-nspawn command. See systemd-nspawn(1) for details.

Type
list of string
Default
[ ]
Example
[
  "--drop-capability=CAP_SYS_CHROOT"
]
Declared
<nixpkgs/nixos/modules/virtualisation/nixos-containers.nix>